package Dao;

import Modelo.Librocategoria;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class LibrocategoriaDao extends AbstractDao<Librocategoria> implements LibrocategoriaDaoLocal {
    @PersistenceContext(unitName = "BibliotecaAmalia-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public LibrocategoriaDao() {
        super(Librocategoria.class);
    }
    
}
